package com.study.book.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 *
 * @TableName Library
 */
@TableName(value ="Library")
@Data
public class Library implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图书管名字
     */
    @TableField(value = "libraryName")
    private String libraryname;

    /**
     * 区域
     */
    @TableField(value = "area")
    private String area;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 推荐数
     */
    @TableField(value = "recommend")
    private Integer recommend;

    /**
     * 照片
     */
    @TableField(value = "photo")
    private String photo;

    /**
     * 图书馆管理员
     */
    @TableField(value = "administratorId")
    private Integer administratorId;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
